<h1>Listing sentences</h1>

<table>
  <tr>
    <th>Item</th>
    <th>Content</th>
    <th>Translate content</th>
    <th>Audio path</th>
  </tr>

<% @sentences.each do |sentence| %>
  <tr>
    <td><%=h sentence.item_id %></td>
    <td><%=h sentence.content %></td>
    <td><%=h sentence.translate_content %></td>
    <td><%=h sentence.audio_path %></td>
    <td><%= link_to 'Show', sentence %></td>
    <td><%= link_to 'Edit', edit_sentence_path(sentence) %></td>
    <td><%= link_to 'Destroy', sentence, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New sentence', new_sentence_path %>